package io.terminus.spzx.product.mapper;

import io.terminus.spzx.model.entity.product.Product;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author lichunlong lcl253137@alibaba-inc.com
 * @Desc 商品管理Mybatis Mapper
 * @Date 2024-10-20
 */
@Mapper
public interface ProductMapper {

    /**
     * 根据id查询商品
     *
     * @param productId 商品id
     * @return 商品
     */
    Product getById(Long productId);
}
